﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH" Runat="Server">

<form  runat="server">
<div class="k1000">
	<div class="s">
    	<div class="s1">
        	<dl><dt>注册邮箱：</dt><dd><asp:TextBox ID="txtAccount" runat="server"></asp:TextBox></dd><dd>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtAccount" Display="Dynamic" ErrorMessage="*请输入账户邮箱" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                </dd></dl>
            <dl><dt>密码：</dt><dd><asp:TextBox ID="txtPassword" TextMode="Password" runat="server"></asp:TextBox></dd><dd>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtPassword" Display="Dynamic" ErrorMessage="*请输入密码" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                </dd></dl>
            <dl><dt>确认密码：</dt><dd><asp:TextBox ID="txtpassword2" TextMode="Password" runat="server"></asp:TextBox></dd>
                <dd>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtpassword2" Display="Dynamic" ErrorMessage="*请输入确认密码" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtPassword" ControlToValidate="txtpassword2" 
                        Display="Dynamic" ErrorMessage="*密码不一致" SetFocusOnError="True"></asp:CompareValidator>
                </dd></dl>
            <dl><dt>验证码：</dt><dd><asp:TextBox ID="txtCode" Width="80" runat="server"/><img id="code" style="cursor:hand;" src="/validate.aspx" alt="看不清？点击刷新。" onclick="this.src=this.src+'?random='+Math.random()" /></dd><dd>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtCode" ErrorMessage="*请输入验证码" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </dd></dl>
            <dl><dt>&nbsp;</dt><dd><asp:Button ID="cmdReg" runat="server" Text="注册" 
                    onclick="cmdReg_Click" /></dd></dl>
        </div>
        <div class="s2">
        	使用QQ登录
        
</div>
</form>
</asp:Content>

